package com.leyu.mall.admin.goods.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import com.leyu.mall.common.util.DateTimeUtil;

public class GoodsBase implements Serializable {
	
	private int goodsAmount;
	//在购物车中的单品数量
	private int acountNumber;
	
    public int getAcountNumber()
	{
		return acountNumber;
	}

	public void setAcountNumber(int acountNumber)
	{
		this.acountNumber = acountNumber;
	}

	public int getGoodsAmount()
	{
		return goodsAmount;
	}

	public void setGoodsAmount(int goodsAmount)
	{
		this.goodsAmount = goodsAmount;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_id
     *
     * @mbggenerated
     */
    private Long goodsId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.category_id
     *
     * @mbggenerated
     */
    private Long categoryId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.channel_id
     *
     * @mbggenerated
     */
    private Long channelId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_sn
     *
     * @mbggenerated
     */
    private String goodsSn;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_name
     *
     * @mbggenerated
     */
    private String goodsName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.brand_id
     *
     * @mbggenerated
     */
    private Short brandId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.market_price
     *
     * @mbggenerated
     */
    private BigDecimal marketPrice;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.group_price
     *
     * @mbggenerated
     */
    private Long groupPrice;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.shop_price
     *
     * @mbggenerated
     */
    private BigDecimal shopPrice;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.warn_number
     *
     * @mbggenerated
     */
    private Byte warnNumber;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_brief
     *
     * @mbggenerated
     */
    private String goodsBrief;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_thumb
     *
     * @mbggenerated
     */
    private String goodsThumb;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_img
     *
     * @mbggenerated
     */
    private String goodsImg;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.original_img
     *
     * @mbggenerated
     */
    private String originalImg;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_on_sale
     *
     * @mbggenerated
     */
    private int isOnSale;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.create_time
     *
     * @mbggenerated
     */
    private String createTime=DateTimeUtil.getCurrDateTimeStr();

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_best
     *
     * @mbggenerated
     */
    private int isBest=0;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_new
     *
     * @mbggenerated
     */
    private int isNew=0;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_hot
     *
     * @mbggenerated
     */
    private int isHot=0;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_group
     *
     * @mbggenerated
     */
    private int isGroup=0;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.is_promote
     *
     * @mbggenerated
     */
    private int isPromote=0;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.last_update
     *
     * @mbggenerated
     */
    private String lastUpdate=DateTimeUtil.getCurrDateTimeStr();;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_type
     *
     * @mbggenerated
     */
    private Short goodsType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.store_id
     *
     * @mbggenerated
     */
    private Long storeId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column goods_base.goods_desc
     *
     * @mbggenerated
     */
    private String goodsDesc;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_id
     *
     * @return the value of goods_base.goods_id
     *
     * @mbggenerated
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_id
     *
     * @param goodsId the value for goods_base.goods_id
     *
     * @mbggenerated
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.category_id
     *
     * @return the value of goods_base.category_id
     *
     * @mbggenerated
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.category_id
     *
     * @param categoryId the value for goods_base.category_id
     *
     * @mbggenerated
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.channel_id
     *
     * @return the value of goods_base.channel_id
     *
     * @mbggenerated
     */
    public Long getChannelId() {
        return channelId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.channel_id
     *
     * @param channelId the value for goods_base.channel_id
     *
     * @mbggenerated
     */
    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_sn
     *
     * @return the value of goods_base.goods_sn
     *
     * @mbggenerated
     */
    public String getGoodsSn() {
        return goodsSn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_sn
     *
     * @param goodsSn the value for goods_base.goods_sn
     *
     * @mbggenerated
     */
    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn == null ? null : goodsSn.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_name
     *
     * @return the value of goods_base.goods_name
     *
     * @mbggenerated
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_name
     *
     * @param goodsName the value for goods_base.goods_name
     *
     * @mbggenerated
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.brand_id
     *
     * @return the value of goods_base.brand_id
     *
     * @mbggenerated
     */
    public Short getBrandId() {
        return brandId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.brand_id
     *
     * @param brandId the value for goods_base.brand_id
     *
     * @mbggenerated
     */
    public void setBrandId(Short brandId) {
        this.brandId = brandId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.market_price
     *
     * @return the value of goods_base.market_price
     *
     * @mbggenerated
     */
    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.market_price
     *
     * @param marketPrice the value for goods_base.market_price
     *
     * @mbggenerated
     */
    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.group_price
     *
     * @return the value of goods_base.group_price
     *
     * @mbggenerated
     */
    public Long getGroupPrice() {
        return groupPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.group_price
     *
     * @param groupPrice the value for goods_base.group_price
     *
     * @mbggenerated
     */
    public void setGroupPrice(Long groupPrice) {
        this.groupPrice = groupPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.shop_price
     *
     * @return the value of goods_base.shop_price
     *
     * @mbggenerated
     */
    public BigDecimal getShopPrice() {
        return shopPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.shop_price
     *
     * @param shopPrice the value for goods_base.shop_price
     *
     * @mbggenerated
     */
    public void setShopPrice(BigDecimal shopPrice) {
        this.shopPrice = shopPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.warn_number
     *
     * @return the value of goods_base.warn_number
     *
     * @mbggenerated
     */
    public Byte getWarnNumber() {
        return warnNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.warn_number
     *
     * @param warnNumber the value for goods_base.warn_number
     *
     * @mbggenerated
     */
    public void setWarnNumber(Byte warnNumber) {
        this.warnNumber = warnNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_brief
     *
     * @return the value of goods_base.goods_brief
     *
     * @mbggenerated
     */
    public String getGoodsBrief() {
        return goodsBrief;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_brief
     *
     * @param goodsBrief the value for goods_base.goods_brief
     *
     * @mbggenerated
     */
    public void setGoodsBrief(String goodsBrief) {
        this.goodsBrief = goodsBrief == null ? null : goodsBrief.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_thumb
     *
     * @return the value of goods_base.goods_thumb
     *
     * @mbggenerated
     */
    public String getGoodsThumb() {
        return goodsThumb;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_thumb
     *
     * @param goodsThumb the value for goods_base.goods_thumb
     *
     * @mbggenerated
     */
    public void setGoodsThumb(String goodsThumb) {
        this.goodsThumb = goodsThumb == null ? null : goodsThumb.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_img
     *
     * @return the value of goods_base.goods_img
     *
     * @mbggenerated
     */
    public String getGoodsImg() {
        return goodsImg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_img
     *
     * @param goodsImg the value for goods_base.goods_img
     *
     * @mbggenerated
     */
    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.original_img
     *
     * @return the value of goods_base.original_img
     *
     * @mbggenerated
     */
    public String getOriginalImg() {
        return originalImg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.original_img
     *
     * @param originalImg the value for goods_base.original_img
     *
     * @mbggenerated
     */
    public void setOriginalImg(String originalImg) {
        this.originalImg = originalImg == null ? null : originalImg.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_on_sale
     *
     * @return the value of goods_base.is_on_sale
     *
     * @mbggenerated
     */
    public int getIsOnSale() {
        return isOnSale;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_on_sale
     *
     * @param isOnSale the value for goods_base.is_on_sale
     *
     * @mbggenerated
     */
    public void setIsOnSale(int isOnSale) {
        this.isOnSale = isOnSale;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.create_time
     *
     * @return the value of goods_base.create_time
     *
     * @mbggenerated
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.create_time
     *
     * @param createTime the value for goods_base.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_best
     *
     * @return the value of goods_base.is_best
     *
     * @mbggenerated
     */
    public int getIsBest() {
        return isBest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_best
     *
     * @param isBest the value for goods_base.is_best
     *
     * @mbggenerated
     */
    public void setIsBest(int isBest) {
        this.isBest = isBest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_new
     *
     * @return the value of goods_base.is_new
     *
     * @mbggenerated
     */
    public int getIsNew() {
        return isNew;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_new
     *
     * @param isNew the value for goods_base.is_new
     *
     * @mbggenerated
     */
    public void setIsNew(int isNew) {
        this.isNew = isNew;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_hot
     *
     * @return the value of goods_base.is_hot
     *
     * @mbggenerated
     */
    public int getIsHot() {
        return isHot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_hot
     *
     * @param isHot the value for goods_base.is_hot
     *
     * @mbggenerated
     */
    public void setIsHot(int isHot) {
        this.isHot = isHot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_group
     *
     * @return the value of goods_base.is_group
     *
     * @mbggenerated
     */
    public int getIsGroup() {
        return isGroup;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_group
     *
     * @param isGroup the value for goods_base.is_group
     *
     * @mbggenerated
     */
    public void setIsGroup(int isGroup) {
        this.isGroup = isGroup;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.is_promote
     *
     * @return the value of goods_base.is_promote
     *
     * @mbggenerated
     */
    public int getIsPromote() {
        return isPromote;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.is_promote
     *
     * @param isPromote the value for goods_base.is_promote
     *
     * @mbggenerated
     */
    public void setIsPromote(int isPromote) {
        this.isPromote = isPromote;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.last_update
     *
     * @return the value of goods_base.last_update
     *
     * @mbggenerated
     */
    public String getLastUpdate() {
        return lastUpdate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.last_update
     *
     * @param lastUpdate the value for goods_base.last_update
     *
     * @mbggenerated
     */
    public void setLastUpdate(String lastUpdate) {
        this.lastUpdate = lastUpdate == null ? null : lastUpdate.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_type
     *
     * @return the value of goods_base.goods_type
     *
     * @mbggenerated
     */
    public Short getGoodsType() {
        return goodsType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_type
     *
     * @param goodsType the value for goods_base.goods_type
     *
     * @mbggenerated
     */
    public void setGoodsType(Short goodsType) {
        this.goodsType = goodsType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.store_id
     *
     * @return the value of goods_base.store_id
     *
     * @mbggenerated
     */
    public Long getStoreId() {
        return storeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.store_id
     *
     * @param storeId the value for goods_base.store_id
     *
     * @mbggenerated
     */
    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column goods_base.goods_desc
     *
     * @return the value of goods_base.goods_desc
     *
     * @mbggenerated
     */
    public String getGoodsDesc() {
        return goodsDesc;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column goods_base.goods_desc
     *
     * @param goodsDesc the value for goods_base.goods_desc
     *
     * @mbggenerated
     */
    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc == null ? null : goodsDesc.trim();
    }
}